package com.easy.common.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor//创建有参构造器
@NoArgsConstructor//创建无参构造器
@TableName("`seat`")
public class SeatBean implements java.io.Serializable{
    // 票档
    @TableId(type = IdType.AUTO)//主键自增
    private Integer id;
    private Integer concertid;
    private String area;
    private Integer count;
    private Integer status;
    @TableLogic  // 标记为逻辑删除字段
    @TableField(value = "isdel")  // 映射数据库表中的isdel列
    private Integer isdel;
    private Integer capacity;

    @TableField(exist = false) // 标识该字段不是数据库表字段
    private String concertTitle;
}
